package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品类目和商品属性关系对象 base_data_product_category_property
 *
 * @author ruoyi
 * @date 2025-03-17
 */
public class CategoryProperty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商品属性ID */
    @Excel(name = "商品属性ID")
    private String propertyId;

    /** 商品类目ID */
    @Excel(name = "商品类目ID")
    private String categoryId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("propertyId", getPropertyId())
            .append("categoryId", getCategoryId())
            .toString();
    }
}
